package linter.POJO.DO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @author 北煜
 * @TableName collect_posts_relation
 */
@TableName(value ="collect_posts_relation")
@Data
public class CollectPostsRelation implements Serializable {
    /**
     * 收藏夹ID
     */
    @TableId
    private Long collectId;

    /**
     * 文章ID
     */
    private Integer postsId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
